/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gra.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 主题管理Entity
 * @author wuzengli
 * @version 2017-05-03
 */
public class Theme extends DataEntity<Theme> {
	
	private static final long serialVersionUID = 1L;
	private String themeName;		// 名称
	private String themeIntro;		// 简介
	private String typeCode;		// 类型编号
	private String chooseStatus;		// 选中状态
	private String sort;		// 排序
	private String status;		// 启用状态 0:不可用 1:可用
	
	public Theme() {
		super();
	}

	public Theme(String id){
		super(id);
	}

	@Length(min=0, max=50, message="名称长度必须介于 0 和 50 之间")
	public String getThemeName() {
		return themeName;
	}

	public void setThemeName(String themeName) {
		this.themeName = themeName;
	}
	
	@Length(min=0, max=200, message="简介长度必须介于 0 和 200 之间")
	public String getThemeIntro() {
		return themeIntro;
	}

	public void setThemeIntro(String themeIntro) {
		this.themeIntro = themeIntro;
	}
	
	@Length(min=0, max=50, message="类型编号长度必须介于 0 和 50 之间")
	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	
	@Length(min=0, max=1, message="选中状态长度必须介于 0 和 1 之间")
	public String getChooseStatus() {
		return chooseStatus;
	}

	public void setChooseStatus(String chooseStatus) {
		this.chooseStatus = chooseStatus;
	}
	
	@Length(min=0, max=11, message="排序长度必须介于 0 和 11 之间")
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
	
	@Length(min=0, max=11, message="启用状态 0:不可用 1:可用长度必须介于 0 和 11 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
}